<% if (@inout.nil? || @inout.price < 0)%>
      <td colspan="5" align="right"><b>Potential income/outcome</b></td>
      <td >.....</td>
      <td >.....</td>
      <td >.....</td>
      <td>&nbsp;</td>
<% else %>
      <td colspan="5" align="right"><b>Potential income/outcome</b></td>
      <td ><span class="<%= totalColor(@inout.net_amount) %>">
        <%= sprintf("%0.2f", @inout.net_amount) %></span></td>
      <td><span class="<%= totalColorLoss %>"><%= sprintf("%0.2f", @inout.brokerage) %></span></td>
      <td><span class="<%= totalColor(@inout.gross_amount) %>">
        <%= sprintf("%0.2f", @inout.gross_amount) %></span></td>
      <td>&nbsp;</td>
<% end %>
